package com.qf.service;

import com.qf.pojo.Expenditure;
import com.qf.utils.ResultMsg;

public interface ExpenditureService {
    ResultMsg findAll(Integer current, Integer pageSize);

    ResultMsg findOne(Integer expenditureId);

    ResultMsg findAllByCondition(String startTime, String endTime, String expenditureFunctionary, String expenditureType, String paymentMethod,Integer current,Integer pageSize);

    ResultMsg addExpenditure(Expenditure expenditure);

    ResultMsg modifyExpenditure(Expenditure expenditure);

    ResultMsg deleteExpenditure(Integer expenditureId);
}
